# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=7
inherit qmake-utils xdg-utils

DESCRIPTION="Log parser"
HOMEPAGE="http://bonnefon.org/"
SRC_URI="http://glogg.bonnefon.org/files/glogg-${PV}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="-markdown"

DEPEND=">=dev-qt/qtcore-4.3
		dev-libs/boost"
RDEPEND="${DEPEND}"

#src_prepare() {
#	epatch "${FILESDIR}/${PV}-remove-absolute-conversion.patch"
#}

src_configure() {
	eqmake5 PREFIX="${ED}"/usr "${S}"/glogg.pro 
}

pkg_postinst() {
	xdg_desktop_database_update
}
pkg_postrm() {
	xdg_desktop_database_update
}
